package com.spring.demo6.eg7;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author vhans
 */
public class InjectService {

    @Autowired
    private IService service;

    @Override
    public String toString() {
        return "injectService{" +
                "service=" + service +
                '}';
    }
}
